/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package neuralnetwork;

public abstract class BpNet {

    Func f = null;

    abstract void init();

    void setSimuFun(Func f) {
        this.f = f;
    }

    abstract void trainByGd();

    abstract void trainByGa();

    abstract double test(double[][] v);
}
